#include"tcpserver.hpp"
//#include"TcpServer.hpp"

void Usage(std::string order)
{
    std::cout<<"\r\nUsage:"<<order<<" port"<<std::endl;
}

int main(int argc,char*argv[])
{
    if(argc!=2)
    {
        Usage(argv[0]);
        exit(1);
    }

    TcpServer*server(new TcpServer());

    server->Init();
    server->Strat();

    return 0;
}